// const { NODE_ENV } = process.env;
// console.log(NODE_ENV)
export const prefix = '/api/jyk';

// 用户名密码登录
export const login = `http://21.108.153.111:9908`;
export const getUserInfo = `${prefix}/user/getUserInfo`
//获取首页图片
export const getFirst = `${prefix}/first/scientific`
//获取科研数据图片
export const getDataAsset = `${prefix}/dataAsset/queryDataAsset`
//获取科研数据详情页图片
export const getDataAssetid = `${prefix}/dataAsset/queryDataAsset?id=2 `
//标准列表
export const getStandardList = `${prefix}/standard/getStandardInfoByPage`;
//标准详情
export const getStandardInfo = `${prefix}/standard/getStandardInfo`;
//标准状态
export const getByTypedic = `${prefix}/dic/getByType`
// 标准描述新增/编辑
export const createStandard = `${prefix}/standard/save`;
// 标准描述删除
export const deleteStandard = `${prefix}/standard/delete`;
//标准元数据列表
export const getBasicFieldInfoList = `${prefix}/standard/getBasicFieldInfoList`;
//标准元数据增加/编辑
export const saveBasicFieldInfo = `${prefix}/standard/saveBasicFieldInfo`;
//标准元数据删除
export const deleteBasicFieldInfo = `${prefix}/standard/deleteBasicFieldInfo`;
//标准元数据-更多的选择项新增
export const saveBasicFieldOptionInfo = `${prefix}/standard/saveBasicFieldOptionInfo`;
//标准元数据-更多的选择项删除
export const deleteBasicFieldOptionInfo = `${prefix}/standard/deleteBasicFieldOptionInfo`;
//标准元数据-更多的选择项数据
export const getBasicFieldOptionInfoById = `${prefix}/standard/getBasicFieldOptionInfoById`;
//详细标准的新增/编辑
export const saveStandDetailInfo = `${prefix}/standard/saveStandDetailInfo`;
//详细标准删除
export const deleteStandDetailInfo = `${prefix}/standard/deleteStandDetailInfo`;
//详细标准列表
export const getStandDetailInfoList = `${prefix}/standard/getStandDetailInfoList`;
//详细标准详情
export const getStandDetailInfo = `${prefix}/standard/getStandDetailInfo`;
//标准模板导出
export const downloadStandModel = `${prefix}/standard/downloadStandModel`;
//标准模板入
export const importExcel = `${prefix}/standard/importExcel`;


/////收藏列表
//收藏列表获取
export const getCollectionList = `${prefix}/collection/queryCollection`;
//取消收藏
export const deleteCollection = `${prefix}/collection/deleteCollection`;
//收藏详情
export const getCollectionDetailsById = `${prefix}/collection/getCollectionDetailsById`;

////分享
//分享列表
export const getShareList = `${prefix}/share/queryShare`;
//分享详情
export const sharedDetailById = `${prefix}/share/sharedDetailById`;

//删除分享
export const deleteShare = `${prefix}/share/deleteShare`;

//专题
//专题列表
export const getTopicByPage = `${prefix}/topic/getTopicByPage`;
//专题详情
export const getTopicInfo = `${prefix}/topic/getTopicInfo`;
// 专题新增or 编辑
export const saveTopic = `${prefix}/topic/save`;
// 专题删除
export const deleteTopic = `${prefix}/topic/delete`;
// 专题资产筛选
export const getKnowledgeListInfos = `${prefix}/knowledge/getKnowledgeListInfos`;
export const getDataAssetListInfos = `${prefix}/dataAsset/getDataAssetListInfos`;

//科研软件
//获取分类树目录
export const getDirs = `${prefix}/knowledgeDir/getDirs`;
//删除目录
export const deleteDir = `${prefix}/knowledgeDir/delete`;
//目录新增编辑
export const saveDir = `${prefix}/knowledgeDir/save`;

//科研软件列表
export const getKnowledgeByPage = `${prefix}/knowledge/getKnowledgeByPage`;
//科研软件新增编辑
export const saveKnowledge = `${prefix}/knowledge/save`;
//科研软件删除
export const deleteKnowledge = `${prefix}/knowledge/delete`;
//科研软件详情
export const getKnowledgeInfo = `${prefix}/knowledge/getKnowledgeInfo`;

//帮助目录新增/编辑
export const helpSave = `${prefix}/help/save`;

//帮助删除
export const helpDelete = `${prefix}/help/delete`;

//通过id获取帮助文档内容
export const getHelpInfo = `${prefix}/help/getHelpInfo`;

// 获取帮助文档分页
export const getHelpByPage = `${prefix}/help/getHelpByPage`;

//获取目录
export const getHelp = `${prefix}/help/getHelp`;

//意见分页查询
export const selectByPage = `${prefix}/opinion/selectByPage`;

//意见详情
export const selectById = `${prefix}/opinion/selectById`;

//意见处理
export const handle = `${prefix}/opinion/handle`;



//资产基本信息录入
export const inputInformation = `${prefix}/asset/inputInformation`;


//文件上传
export const upload = `${prefix}/file/upload`;

//字典获取
export const getByType = `${prefix}/dic/getByType`;
//字典获取
export const queryCategory = `${prefix}/dic/queryCategory`;
